//
// Created by wze-zero on 2024/9/2 002.
//
#include <iostream>

using namespace std;

int main() {
    char c;
    cin >> c;
    (c >= 'A' && c <= 'z') ? cout << "YES" << endl : cout << "NO" << endl;
    return 0;
}